package com.corpgovernment.organization.entity.db;

import com.corpgovernment.common.annotation.OperateLogFieldDesc;
import com.corpgovernment.common.entity.db.BaseEntity;
import com.corpgovernment.common.enums.DeleteStatusEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Table;


/**
 * 用户常旅客卡表
 *
 * @author qkdong
 **/
@EqualsAndHashCode(callSuper = true)
@SuppressWarnings("serial")
@Data
@Table(name = "mb_org_user_ffpinfo")
public class MbOrgUserFfpinfo extends BaseEntity {

    /**
     * 主键
     **/
    /*@Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    @OperateLogFieldDesc(value = "主键")
    private Long id;*/
    /**
     * 用户id
     **/
    @Column(name = "uid")
    @OperateLogFieldDesc(value = "用户id")
    private String uid;
    /**
     * 航司二字码
     **/
    @Column(name = "airline")
    @OperateLogFieldDesc(value = "航司二字码")
    private String airline;
    /**
     * 常旅客卡号
     **/
    @Column(name = "ffpno")
    @OperateLogFieldDesc(value = "常旅客卡号")
    private String ffpno;

    /**
     * 删除状态 0：未删除 1：删除
     */
    @Column(name = "is_deleted")
    @OperateLogFieldDesc(value = "删除状态", type = DeleteStatusEnum.class)
    private Boolean isDeleted;
    /**
     * 非员工ID
     */
    @Column(name = "non_employee_uid")
    @OperateLogFieldDesc(value = "非员工id")
    private Long nonEmployeeUid;
}
